//
//  HKResponse.h
//  YNDemo
//
//  Created by 胡锦涛 on 2020/11/27.
//

#import "HKLibBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface HKResponse : HKLibBaseModel
/** 请求数据 */
@property (nonatomic, strong) NSDictionary * data ;
/** 错误码❎ */
@property (nonatomic, strong) NSString * errorCode ;
/** 错误信息❎ */
@property (nonatomic, strong) NSString * errorMsg ;
/** 是否成功 */
@property (nonatomic, assign) BOOL success ;
/** 是否分页 */
@property (nonatomic, assign) BOOL paging ;
/** 页码 */
@property (nonatomic, assign) NSString * page ;
- (instancetype)initWithErrorCode:(NSString *)errorCode errorMessage:(NSString *)errorMsg;
@end

NS_ASSUME_NONNULL_END
